Mergado\Service\External\Google\GoogleAnalytics\GA4\Ga4ServiceIntegration D

Total Complexity 151
Dependencies 19
Dependents 3
Total lines 863
Lines of code 606
Logical lines of code 310
Comment lines 64
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
productDetailView()
B
37 19 75
addToCart()
A
38 13 71
purchase()
A
39 9 67
getCartProductAppliedCoupons()
A
52 11 22
getOrderProductAppliedCoupons()
A
55 11 18
viewItemList()
A
53 8 21
refundPartial()
S
49 6 31
getCartEventItemsObject()
S
49 5 32
getShippingMethods()
S
57 6 17
orderStatusChanged()
S
56 5 17
getCartValue()
S
60 4 14
getOrderCouponData()
S
58 3 16
refundFull()
S
59 3 15
pushRefundEvent()
S
61 3 13
getPaymentMethods()
S
63 3 11
getFormattedAnalyticsCode()
S
67 3 7
getProductCategories()
S
64 3 10
addShippingInfo()
S
64 3 10
search()
S
65 3 9
removeFromCart()
S
59 2 15
insertHeaderAdmin()
S
69 3 6
getCartProductPrices()
S
59 2 13
getPurchaseProductPrices()
S
59 2 13
addToCartAjax()
S
61 2 12
viewCart()
S
66 2 9
getProductId()
S
67 2 8
getProductPrices()
S
63 2 10
getDiscount()
S
77 2 3
addPaymentInfo()
S
68 2 7
beginCheckout()
S
70 2 7
addCartData()
S
71 2 5
actionShippingRate()
S
73 2 5
__construct()
S
76 1 4
getCartDataObject()
S
65 1 10
getCartGlobalCoupon()
S
79 1 3